package com.zzy.blog.dto;

import java.io.Serializable;

/**
 * person实体
 * @author eason
 *
 */
public class Person implements Serializable {

	private static final long serialVersionUID = 1L;

	private String name;
	
	private Star star;
	
	public Person(String name, Star star) {
		this.name = name;
		this.star = star;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setStar(Star star) {
		this.star = star;
	}

	public Star getStar() {
		return star;
	}
	
	@Override
	public String toString() {
		return "name:" + name + ", " + star;
	}
	
}


